<template>
  <tool-page title="生成随机手机号" :value="phone" @generate="onClick"></tool-page>
</template>

<script>

export default {
  name: "RandPhone",
  data() {
    return {
      phone: ''
    }
  },
  methods: {
    onClick() {
      this.phone = this.simpleUtils.randomPhoneNumber();
    }
  },
  created() {
    this.phone = this.simpleUtils.randomPhoneNumber();
  }
}
</script>

<style lang="scss" scoped>

</style>
